]> dgit.raspbian.org Git - gnome-shell.git/commit
NotificationDaemon: remove source if notification sender is removed from DBus
authorNeha Doijode <ndoijode@gmail.com>
Wed, 6 Jul 2011 21:01:07 +0000 (02:31 +0530)
committerMarina Zhurakhinskaya <marinaz@redhat.com>
Sat, 9 Jul 2011 01:24:42 +0000 (21:24 -0400)
commit153768ef7ffbea5760bcd7611aa75aef71310ba5
treea1e6ac54f6c2a2a4e2ca8dee4fd13dcd4866d5ae
parent7249a218ba6371b11288a403c3944f6decf6f2a8
NotificationDaemon: remove source if notification sender is removed from DBus

We don't want sources that are no longer associated with a running application
to stick around in the message tray.

Message tray sources were removed when the associated application’s state
changed to Shell.AppState.STOPPED . This caused sources for applications
that were still running, but did not have any open windows to be removed.
Instead, we should use the notification’s sender removal from DBus as an
indicator for when to remove the associated source from the message tray.

https://bugzilla.gnome.org/show_bug.cgi?id=645764
js/ui/notificationDaemon.js